home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Utilities Experience
/
The Utilities Experience - Volume 1.iso
/
software
/
demos
/
r-z
/
sbase4pro
/
trading
/
stkdr.sbp
< prev
next >
Wrap
Text File
|
1995-07-10
|
4KB
|
204 lines
SBP
ÿ½ STKDR
ÿ½ Cash usw. eingeben
ÿ½ Zuletzt aktualisiert Jan 03, 90
ÿ³ÿ_ÿwferror
stkdr:ÿ½ Parameter einstellen
f$ÿ"cash":fkey$ÿ"Trans_Key":fmd$ÿ"stkdr":ffld%ÿ7:frow%ÿ10
ÿ¡mb%ÿ4ÿpbtype$ÿ"r"ÿ^btype$ÿ"p"
bdate$ÿÿ(ÿQ,"mmm dd,yy"):bdate%ÿÿQ
ÿ"ctrl"
bref%ÿbatch.CTRLÿ1
ÿ´ÿf$
ÿ£fkey$
ÿ´ÿfmd$
bwait:ÿ½ Batchheader eingeben oder Exit
ÿÏÿß
ÿwbwait
bhead:ÿ½ Batchheader
ÿ"ctrl"
batch.CTRLÿbatch.CTRLÿ1
ÿÌ
bref%ÿbatch.CTRL
ÿÊÿËss20$
bhead2:ÿ½ Batchgesamtsumme
ÿf$
ÿ7
ÿ¡Zero ÿ 0ÿpÿÂms27$,"",2,a%:ÿwbhead2
ÿÂms1$,"",130,a%
ÿ¡a%ÿ0ÿpÿwbhead2
bttl%ÿZero:Zero ÿ0:ftl%ÿ0:tref%ÿ1
fenter:ÿ½ Datensätze ab Zeile 1 eingeben
ÿÿ
ÿ2
ÿÊÿËss3$
mp%ÿ1:ttl%ÿ0
fenter2:ÿ½ Datensatz eingeben
ÿ
Trans_ref.CASHÿtref%
ÿÍÿÿ"mp%
ÿTrans_date ÿ"mp%ÿqCash_ref ÿ"mp%
fenter3:ÿ½ Barbetrag eingeben
ÿAmount.CASHÿ"mp%
b%ÿ0
ÿ¡Amount.CASHÿ0ÿp
ÿÂms1$,"",127,a%
ÿ¡a%ÿp
amt%ÿAmount.CASH:ttl%ÿttl%ÿamt%:ftl%ÿftl%ÿamt%
tref%ÿtref%ÿ1:mp%ÿmp%ÿ1
Batch_ref.CASHÿbref%:Batch_date.CASHÿbdate%
Printed_yn.CASHÿ"n":Trans_Type.CASHÿbtype$
ÿÌ
ÿvsupdate
ÿ
ÿÿ¡
ÿ^
ÿÂms27$,"",100,a%:b%ÿ1
ÿÿ¡
ÿ¡b%ÿpÿwfenter3
ÿÂms2$,"",130,b%
ÿ¡b%ÿ0ÿpÿwfcheck
ÿ¡mp%ÿfrow%ÿpÿwfenter ÿ^ÿwfenter2
fcheck:ÿ½ Batchgesamtsumme prüfen
ÿ¡ftl%ÿbttl%ÿp
ÿÂms28$,ms29$,130,b%
ÿ^
ÿÂms26$,ss13$,100,a%:b%ÿ1
ÿÿ¡
ÿ¡b%ÿ0ÿwfexit
floop:ÿ½ Ab erstem Datensatz erneut ausgeben
ÿÿ
ÿÉÿÐBatch_ref.CASHÿbref%
ÿvslimits
ckey%ÿfstk%
fform:ÿ½ Ab ckey ausgeben
ÿvspage
ÿ2
fwait:ÿ½ Auf Drucktaste warten
mp%ÿ0
ÿÊÿËss13$
ÿÏÿß
ÿ½ Edit line
ÿ¡(mp%ÿ0ÿmp%ÿlrec%)ÿpÿwfwait
ÿÊÿËss4$
ÿÉÿÿ"mp%
oamt%ÿAmount.CASH
fedit2:
ÿCash_ref.CASHÿ"mp%ÿqAmount.CASHÿ"mp%
b%ÿ0
ÿ¡Amount.CASHÿ0ÿp
ÿÂms1$,"",127,a%
ÿ¡a%ÿp
amt%ÿAmount.CASHÿoamt%:ttl%ÿttl%ÿamt%:ftl%ÿftl%ÿamt%
ÿÌ:ÿ½ always positive
ÿvsupdate
ÿ
ÿÿ¡
ÿ^
ÿÂ"Amount must be positive","",100,a%:b%ÿ1
ÿÿ¡
ÿ¡b%ÿpÿwfedit2
ÿwfwait
fdelete:ÿ½ Delete record
ÿÊÿËss12$
ÿÏÿß
ÿÉÿÿ"mp%
ÿÂms14$ÿÿ(Trans_Ref.CASH,"0000."),"",119,a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